// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import elementui from 'element-ui'
import axios from 'axios'
// import api from 'fapi'
import api from '@/assets/js/flask_api.js'
import router from './router'
import 'element-ui/lib/theme-default/index.css'

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$api = api
Vue.use(elementui)

new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App }
});
